﻿package mortal.game.view.rebate.rank
{
    import com.mui.controls.*;
    import mortal.game.resource.*;
    import mortal.game.view.common.*;
    import mortal.game.view.common.item.*;

    public class RebateRankItemSp extends GSprite
    {
        public var item:BaseItem;

        public function RebateRankItemSp()
        {
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            this.item = UIFactory.getUICompoment(BaseItem, 0, 0, this);
            this.item.setItemStyle(ItemStyleConst.Small, ImagesConst.PackItemBg);
            this.item.isDragAble = false;
            this.item.isShowLock = true;
            var _loc_1:Boolean = true;
            this.mouseChildren = true;
            this.mouseEnabled = _loc_1;
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            super.disposeImpl(param1);
            var _loc_2:int = 1;
            this.scaleY = 1;
            this.scaleX = _loc_2;
            this.item.dispose(param1);
            this.item = null;
            this.mouseEnabled = false;
            return;
        }// end function

    }
}
